|
Menu location |
---|
Part → Create primitives... |
Workbenches |
Part, OpenSCAD |
Default shortcut |
None |
Introduced in version |
- |
See also |
Part Builder |
一个用于创建各种参数化几何图元的工具。
The primitives that can be created with the command
The properties of a Part Primitive can also be changed in the Property editor, and its 数据Placement can also be changed with the Std TransformManip command.
The following primitives can be created:
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
There is a Python script to test the creation of the primitives. It can be run from the Python console:
import parttests.part_test_objects as pto
pto.create_test_file("example_file")
This script is located in the installation directory of the program, and can be examined to see how the basic primitives are built:
$INSTALL_DIR/Mod/Part/parttests/part_test_objects.py
It can be used as input for the program as well:
freecad $INSTALL_DIR/Mod/Part/parttests/part_test_objects.py